package LexPortal.DAOInterface;

import java.util.List;

import LexPortal.Entity.Product;

public interface ProductDAO {
	public void Insert(Product category) throws Exception;

	public void Update(Product category) throws Exception;

	public void Delete(int id) throws Exception;

	public Product QueryById(int id) throws Exception;

	public List<Product> GetAllProduct() throws Exception;

	public List<Product> GetProductsByCategoryId(long categoryID)
			throws Exception;
	
	public List<Product> GetProductsByCateidRecurse(long categoryID)
			throws Exception;
}
